package com.lvyou.service;

import com.lvyou.entity.UserModel;
import com.lvyou.mapper.IUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RegSrvImpl {
    @Resource
    private IUserMapper dao;

    public void reg(String phone, String password) {
        System.out.println("RegSrvImpl:" + phone + "...." + password);
        List<UserModel> list = dao.add(phone,password);
    }
}
